package algorithm1_v2;

import java.util.concurrent.Callable;

public class Task3 implements Callable<String>{

	@Override
	public String call() throws Exception {
		SystemInfo info = SystemInfo.INSTANCE;
		info.timeout.put(info.timer.getKey(),info.timeout.get(info.timer.getKey())+1);
		info.candidates.remove(info.timer);
		UpdateLeader.update();
		return null;
	}

}
